#ifndef _USERMODEL_H_
#define _USERMODEL_H_
#include "user.hpp"
class UserModel
{
private:

public:
    UserModel();
    ~UserModel();
    bool Insert(User& user);
    User Query(int id);
    void UpdateState(User& user, std::string state = "online");
    void Reset();
};


#endif // _USERMODEL_H_